package ${basePkg}.entity;

import javax.persistence.Id;
import javax.persistence.Table;
/**
 * ${tabComment}
 * @author zyt
 *
 */
@Table(name = "${tableName}")
public class ${BeanName}{

    <#list fields as fd>
        <#if fd.primary>
        @Id
	</#if>
        private ${fd.javaType!"String"} ${fd.name};//${fd.comments!""}
    </#list>


    <#list fields as fd>
        public void set${fd.name?cap_first}(${fd.javaType!"String"} ${fd.name}){
            this.${fd.name}=${fd.name};
        }
        
        public ${fd.javaType!"String"} get${fd.name?cap_first}(){
            return this.${fd.name};
        }
    </#list>

}